Repository navigation
asio: each expected diagnostic on one line, so clang's -verify reads it - #5
Merged
Merged
Conversation
Three compile-diagnostic tests wrapped their expected text over two // lines. clang's -verify cannot find the closing }} there, reports an error the rule ignores, and drops the directive, so the tests checked nothing. Each now states a shorter part of the message on one line.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Three compile-diagnostic tests wrapped their expected text over two
//lines. clang's-verifycannot find the closing}}there, reports an error the rule ignored, and drops thedirective, so the tests checked nothing. Each now states a shorter part of the message on one
line.
The superproject's
webcpp.compile-diagnosticnow fails on a directive that-verifydrops(webcpporg/webcpp, branch crypto/v0.1), which is what found these. That branch records this
commit as
libs/asio, so this pull request merges before it. The branch sits on 2a59df2, thecommit webcpporg/webcpp#19 records (release-link, which
mainmerged in #4), so it merges with amerge commit, as release-link did, and the recorded commit is on asio's
main.Changes
test/ssl_without_openssl_test.cpp: one expected-diagnostic line each.
Verification
check (they fail on it without this change).
commit recorded.
🤖 Generated with Claude Code